export default (state = {}, action) => {
    switch (action.type) {
        case 'REFRESH_USER_INFO':
            return Object.assign({}, state, action.user);
        default:
            return state;
    }
}